import React, { ReactChild, ReactNode } from 'react';
export interface ruleType {
  required?: boolean;
  message?: string;
}

export interface itemType {
  name?: string;
  label?: string;
  rules?: ruleType[];
  className?: string;
  children?: ReactNode;
}
export interface formType {
  name?: string;
  initialValues?: object;
  form?: any; // 这个类型不知道肿么写，ε=(´ο｀*)))
  className?: string;
}
